package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Employee;
import cn.wolfcode.crm.query.EmployeeQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEmployeeService {
	
	 void deleteByPrimaryKey(Long id);

	void insert(Employee entity, Long[] ids);

	Employee selectByPrimaryKey(Long id);

	List<Employee> selectAll();

	void updateByPrimaryKey(Employee entity, Long[] ids);

	PageInfo query(EmployeeQueryObject qo);



	void batchDelete(Long[] ids);

    String selectByName(String name);
}
